package com.pearl.maskencrypt.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;
import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author 自动代码生成
 * @since 2024-02-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_user")
public class UserEntity implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @TableId(value = "user_id", type = IdType.ASSIGN_ID)
    private Long userId;

    @TableField("user_name")
    private String userName;

    @TableField("id_number")
    private String idNumber;

    @TableField("password")
    private String password;

    @TableField("login_name")
    private String loginName;

    @TableField("gender")
    private Integer gender;

    @TableField("phone")
    private String phone;

    @TableField("address")
    private String address;

    @TableField("organization_id")
    private Integer organizationId;

    @TableField("state")
    private Boolean state;

    @TableField("email")
    private String email;

    @TableField("remark")
    private String remark;

}
